<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>EDUKIT Developers: Класс ScheduleManager</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="ukit.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">EDUKIT Developers
   &#160;<span id="projectnumber">1.0</span>
   </div>
   <div id="projectbrief">Руководство программиста</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Создано системой Doxygen 1.8.13 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',false,false,'search.php','Поиск');
});
</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespace_i_e_p.html">IEP</a></li><li class="navelem"><a class="el" href="namespace_i_e_p_1_1_managers.html">Managers</a></li><li class="navelem"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html">ScheduleManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Открытые члены</a> &#124;
<a href="#pri-methods">Закрытые члены</a>  </div>
  <div class="headertitle">
<div class="title">Класс ScheduleManager</div>  </div>
</div><!--header-->
<div class="contents">

<p>Менеджер для работы с расписанием  
 <a href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#details">Подробнее...</a></p>

<p><code>#include &quot;iep/managers/shm.class.php&quot;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Граф наследования:ScheduleManager:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="class_i_e_p_1_1_managers_1_1_schedule_manager.png" usemap="#ScheduleManager_map" alt=""/>
  <map id="ScheduleManager_map" name="ScheduleManager_map">
<area href="class_i_e_p_1_1_managers_1_1_i_e_p.html" title="Базовый класс для все остальных менеджеров " alt="IEP" shape="rect" coords="0,0,116,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Открытые члены</h2></td></tr>
<tr class="memitem:a259d1371a5de18f7bb27077d3851b9c4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#a259d1371a5de18f7bb27077d3851b9c4">add</a> ($schedule)</td></tr>
<tr class="memdesc:a259d1371a5de18f7bb27077d3851b9c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавление новой записи о расписании  <a href="#a259d1371a5de18f7bb27077d3851b9c4">Подробнее...</a><br /></td></tr>
<tr class="separator:a259d1371a5de18f7bb27077d3851b9c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a551dee3082f961f214727d0288ed5b4b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#a551dee3082f961f214727d0288ed5b4b">addChangeSchedule</a> ($schedule)</td></tr>
<tr class="memdesc:a551dee3082f961f214727d0288ed5b4b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавление новой записи об изменениях в расписании  <a href="#a551dee3082f961f214727d0288ed5b4b">Подробнее...</a><br /></td></tr>
<tr class="separator:a551dee3082f961f214727d0288ed5b4b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1ba928af24dc14210e0436062c8c12a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#ab1ba928af24dc14210e0436062c8c12a">getAllScheduleGroup</a> ()</td></tr>
<tr class="memdesc:ab1ba928af24dc14210e0436062c8c12a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает расписание всех групп  <a href="#ab1ba928af24dc14210e0436062c8c12a">Подробнее...</a><br /></td></tr>
<tr class="separator:ab1ba928af24dc14210e0436062c8c12a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbf611f889019418fffd2d8e7ed461cd"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#adbf611f889019418fffd2d8e7ed461cd">getScheduleGroup</a> (int $grp)</td></tr>
<tr class="memdesc:adbf611f889019418fffd2d8e7ed461cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает расписание группы  <a href="#adbf611f889019418fffd2d8e7ed461cd">Подробнее...</a><br /></td></tr>
<tr class="separator:adbf611f889019418fffd2d8e7ed461cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adb7bf63e9a7acfbdd66ad0f11131c44f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#adb7bf63e9a7acfbdd66ad0f11131c44f">getAllChangedSchedule</a> ()</td></tr>
<tr class="memdesc:adb7bf63e9a7acfbdd66ad0f11131c44f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает изменения во всех группах  <a href="#adb7bf63e9a7acfbdd66ad0f11131c44f">Подробнее...</a><br /></td></tr>
<tr class="separator:adb7bf63e9a7acfbdd66ad0f11131c44f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc40ac3cea969b5c1588274172be5e04"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#afc40ac3cea969b5c1588274172be5e04">getChangeScheduleGroup</a> (int $grp)</td></tr>
<tr class="memdesc:afc40ac3cea969b5c1588274172be5e04"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает изменения в расписании группы  <a href="#afc40ac3cea969b5c1588274172be5e04">Подробнее...</a><br /></td></tr>
<tr class="separator:afc40ac3cea969b5c1588274172be5e04"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ca467bf221ecda38dbcd0d42b0beb2e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#a7ca467bf221ecda38dbcd0d42b0beb2e">changePair</a> (int $grp, int $day, int $pair, int $subj_1, int $subj_2)</td></tr>
<tr class="memdesc:a7ca467bf221ecda38dbcd0d42b0beb2e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет предмет  <a href="#a7ca467bf221ecda38dbcd0d42b0beb2e">Подробнее...</a><br /></td></tr>
<tr class="separator:a7ca467bf221ecda38dbcd0d42b0beb2e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1c4f6491c4b8044fee1106d5307b517a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#a1c4f6491c4b8044fee1106d5307b517a">changeChangedPair</a> (int $grp, string $day, int $pair, int $subject)</td></tr>
<tr class="memdesc:a1c4f6491c4b8044fee1106d5307b517a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Изменяет предмет в изменениях в расписании  <a href="#a1c4f6491c4b8044fee1106d5307b517a">Подробнее...</a><br /></td></tr>
<tr class="separator:a1c4f6491c4b8044fee1106d5307b517a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5677834bbf3518db1bf24a20022c9cf8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#a5677834bbf3518db1bf24a20022c9cf8">deleteChangedPair</a> (int $grp)</td></tr>
<tr class="memdesc:a5677834bbf3518db1bf24a20022c9cf8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет записи об изменениях в расписании  <a href="#a5677834bbf3518db1bf24a20022c9cf8">Подробнее...</a><br /></td></tr>
<tr class="separator:a5677834bbf3518db1bf24a20022c9cf8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a569f6725d9482cbf8b41321d6d87aa62"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#a569f6725d9482cbf8b41321d6d87aa62">remove</a> ($schedule)</td></tr>
<tr class="memdesc:a569f6725d9482cbf8b41321d6d87aa62"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаление записи о расписании  <a href="#a569f6725d9482cbf8b41321d6d87aa62">Подробнее...</a><br /></td></tr>
<tr class="separator:a569f6725d9482cbf8b41321d6d87aa62"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p')"><img src="closed.png" alt="-"/>&#160;Открытые члены унаследованные от <a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html">IEP</a></td></tr>
<tr class="memitem:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aad6f240442b7c2c49d009084c59be075">__construct</a> (\PDO $<a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a>)</td></tr>
<tr class="memdesc:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aad6f240442b7c2c49d009084c59be075">Подробнее...</a><br /></td></tr>
<tr class="separator:aad6f240442b7c2c49d009084c59be075 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a8911f29c813a66f13e805af3afea5c2b">setDBC</a> ($<a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a>)</td></tr>
<tr class="memdesc:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Задаёт контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a8911f29c813a66f13e805af3afea5c2b">Подробнее...</a><br /></td></tr>
<tr class="separator:a8911f29c813a66f13e805af3afea5c2b inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">dbc</a> ()</td></tr>
<tr class="memdesc:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает контроллер базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#ae51244ccee8b1932cc60c3869d426f66">Подробнее...</a><br /></td></tr>
<tr class="separator:ae51244ccee8b1932cc60c3869d426f66 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a9307862af9ee08f7f911c98ef756642d">query</a> (string $sql, array $params=array())</td></tr>
<tr class="memdesc:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Выполняет запрос  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a9307862af9ee08f7f911c98ef756642d">Подробнее...</a><br /></td></tr>
<tr class="separator:a9307862af9ee08f7f911c98ef756642d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5a1b761c901432b2bfd7fc4e5e75a6bd">getLogs</a> ()</td></tr>
<tr class="memdesc:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Возвращает все записи логов  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5a1b761c901432b2bfd7fc4e5e75a6bd">Подробнее...</a><br /></td></tr>
<tr class="separator:a5a1b761c901432b2bfd7fc4e5e75a6bd inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a09f62e401b1e20f2796363d272aea18d">removeLogs</a> (int $log_id)</td></tr>
<tr class="memdesc:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаляет запись лога  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a09f62e401b1e20f2796363d272aea18d">Подробнее...</a><br /></td></tr>
<tr class="separator:a09f62e401b1e20f2796363d272aea18d inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5718dddc9c96c76cbcea478ce593dedb">add</a> ($data)</td></tr>
<tr class="memdesc:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Добавление каких-либо данных в базу данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#a5718dddc9c96c76cbcea478ce593dedb">Подробнее...</a><br /></td></tr>
<tr class="separator:a5718dddc9c96c76cbcea478ce593dedb inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aca74d656488fa3f2b28401b80b1f79c9">remove</a> ($what)</td></tr>
<tr class="memdesc:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="mdescLeft">&#160;</td><td class="mdescRight">Удаление каких-либо данными из базы данных  <a href="class_i_e_p_1_1_managers_1_1_i_e_p.html#aca74d656488fa3f2b28401b80b1f79c9">Подробнее...</a><br /></td></tr>
<tr class="separator:aca74d656488fa3f2b28401b80b1f79c9 inherit pub_methods_class_i_e_p_1_1_managers_1_1_i_e_p"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Закрытые члены</h2></td></tr>
<tr class="memitem:ac33dc213446b5be25f1183e4ff866dac"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_i_e_p_1_1_managers_1_1_schedule_manager.html#ac33dc213446b5be25f1183e4ff866dac">intToDay</a> (int $day)</td></tr>
<tr class="memdesc:ac33dc213446b5be25f1183e4ff866dac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Форматирует числовое представление дня недели в строку  <a href="#ac33dc213446b5be25f1183e4ff866dac">Подробнее...</a><br /></td></tr>
<tr class="separator:ac33dc213446b5be25f1183e4ff866dac"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Подробное описание</h2>
<div class="textblock"><p>Менеджер для работы с расписанием </p>
<dl class="section author"><dt>Автор</dt><dd>pmswga </dd></dl>
<dl class="section version"><dt>Версия</dt><dd>1.0</dd></dl>
<p>Задачи менеджера:</p><ol type="1">
<li></li>
</ol>
</div><h2 class="groupheader">Методы</h2>
<a id="a259d1371a5de18f7bb27077d3851b9c4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a259d1371a5de18f7bb27077d3851b9c4">&#9670;&nbsp;</a></span>add()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">add </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$schedule</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Добавление новой записи о расписании </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$schedule</td><td>- Запись о расписании </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативный массив в формате <div class="fragment"><div class="line">$schedule_entry = array(</div><div class="line">  <span class="stringliteral">&quot;group&quot;</span>   =&gt; ,</div><div class="line">  <span class="stringliteral">&quot;day&quot;</span>     =&gt; ,</div><div class="line">  <span class="stringliteral">&quot;pair&quot;</span>    =&gt; ,</div><div class="line">  <span class="stringliteral">&quot;subject&quot;</span> =&gt; </div><div class="line">);</div></div><!-- fragment --></dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a551dee3082f961f214727d0288ed5b4b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a551dee3082f961f214727d0288ed5b4b">&#9670;&nbsp;</a></span>addChangeSchedule()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">addChangeSchedule </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$schedule</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Добавление новой записи об изменениях в расписании </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$schedule</td><td>- Запись об изменениях в расписании </td></tr>
  </table>
  </dd>
</dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативный массив в формате <div class="fragment"><div class="line">$schedule_entry = array(</div><div class="line">  <span class="stringliteral">&quot;group&quot;</span>   =&gt; ,</div><div class="line">  <span class="stringliteral">&quot;day&quot;</span>     =&gt; ,</div><div class="line">  <span class="stringliteral">&quot;pair&quot;</span>    =&gt; ,</div><div class="line">  <span class="stringliteral">&quot;subject&quot;</span> =&gt; </div><div class="line">);</div></div><!-- fragment --></dd></dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a1c4f6491c4b8044fee1106d5307b517a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1c4f6491c4b8044fee1106d5307b517a">&#9670;&nbsp;</a></span>changeChangedPair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changeChangedPair </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&#160;</td>
          <td class="paramname"><em>$day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$pair</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$subject</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет предмет в изменениях в расписании </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp</td><td>- Идентификатор группы </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$day</td><td>- День недели </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$pair</td><td>- Пара </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$subject</td><td>- Идентфикатор предмета </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a7ca467bf221ecda38dbcd0d42b0beb2e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ca467bf221ecda38dbcd0d42b0beb2e">&#9670;&nbsp;</a></span>changePair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">changePair </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$day</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$pair</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$subj_1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$subj_2</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Изменяет предмет </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp</td><td>- Идентификатор группы </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$day</td><td>- День недели </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$pair</td><td>- Пара </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$subj_1</td><td>- Идентфикатор предмета, который на нечётной неделе </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">$subj_2</td><td>- Идентфикатор предмета, который на чётной неделе </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="a5677834bbf3518db1bf24a20022c9cf8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5677834bbf3518db1bf24a20022c9cf8">&#9670;&nbsp;</a></span>deleteChangedPair()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">deleteChangedPair </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаляет записи об изменениях в расписании </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp</td><td>- Идентификатор группы </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>TRUE - успешно, FALSE - ошибка </dd></dl>

</div>
</div>
<a id="adb7bf63e9a7acfbdd66ad0f11131c44f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adb7bf63e9a7acfbdd66ad0f11131c44f">&#9670;&nbsp;</a></span>getAllChangedSchedule()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllChangedSchedule </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает изменения во всех группах </p>
<dl class="section return"><dt>Возвращает</dt><dd>Изменения в расписании </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативный массив в формате <div class="fragment"><div class="line">$schedule = array(</div><div class="line">  <span class="stringliteral">&quot;П-304&quot;</span> =&gt; array(</div><div class="line">    <span class="stringliteral">&quot;2017-09-02 00:00:00&quot;</span> =&gt; array(</div><div class="line">      [0] =&gt; array(</div><div class="line">        [_day]    =&gt; ,</div><div class="line">        [group]   =&gt; ,</div><div class="line">        [id_grp]  =&gt; ,</div><div class="line">        [pair]    =&gt; ,</div><div class="line">        [subject] =&gt; </div><div class="line">      ),</div><div class="line">      ...</div><div class="line">    )</div><div class="line">    ...</div><div class="line">  ),</div><div class="line">  ...</div><div class="line">);</div></div><!-- fragment --> </dd></dl>

</div>
</div>
<a id="ab1ba928af24dc14210e0436062c8c12a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1ba928af24dc14210e0436062c8c12a">&#9670;&nbsp;</a></span>getAllScheduleGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getAllScheduleGroup </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает расписание всех групп </p>
<dl class="section return"><dt>Возвращает</dt><dd>Расписание </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативный массив в формате <div class="fragment"><div class="line">$schedule = array(</div><div class="line">  <span class="stringliteral">&quot;П-304&quot;</span> =&gt; array(</div><div class="line">    <span class="stringliteral">&quot;ПН&quot;</span> =&gt; array(</div><div class="line">      [0] =&gt; array(</div><div class="line">        [_day]    =&gt; ,</div><div class="line">        [group]   =&gt; ,</div><div class="line">        [id_grp]  =&gt; ,</div><div class="line">        [pair]    =&gt; ,</div><div class="line">        [subject] =&gt; </div><div class="line">      ),</div><div class="line">      ...</div><div class="line">    )</div><div class="line">    ...</div><div class="line">  ),</div><div class="line">  ...</div><div class="line">);</div></div><!-- fragment --> </dd></dl>

</div>
</div>
<a id="afc40ac3cea969b5c1588274172be5e04"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc40ac3cea969b5c1588274172be5e04">&#9670;&nbsp;</a></span>getChangeScheduleGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getChangeScheduleGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает изменения в расписании группы </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp</td><td>- Идентификатор </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Расписание </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативный массив </dd></dl>

</div>
</div>
<a id="adbf611f889019418fffd2d8e7ed461cd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adbf611f889019418fffd2d8e7ed461cd">&#9670;&nbsp;</a></span>getScheduleGroup()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">getScheduleGroup </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$grp</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Возвращает расписание группы </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$grp</td><td>- Идентификатор </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Расписание </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>Ассоциативный массив </dd></dl>

</div>
</div>
<a id="ac33dc213446b5be25f1183e4ff866dac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac33dc213446b5be25f1183e4ff866dac">&#9670;&nbsp;</a></span>intToDay()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">intToDay </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>$day</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Форматирует числовое представление дня недели в строку </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$day</td><td>- Номер дня недели </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Возвращает</dt><dd>Строковое представление дня недели </dd></dl>
<dl class="section note"><dt>Заметки</dt><dd>1 - ПН, 2 - ВТ, 3 - СР, 4 - ЧТ, 5 - ПТ, 6 - СБ </dd></dl>

</div>
</div>
<a id="a569f6725d9482cbf8b41321d6d87aa62"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a569f6725d9482cbf8b41321d6d87aa62">&#9670;&nbsp;</a></span>remove()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">remove </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>$schedule</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Удаление записи о расписании </p>
<dl class="params"><dt>Аргументы</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">$schedule</td><td>- Запись о расписании </td></tr>
  </table>
  </dd>
</dl>
<dl class="section warning"><dt>Предупреждения</dt><dd>Ожидает реализации </dd></dl>
<dl class="bug"><dt><b><a class="el" href="bug.html#_bug000001">Ошибка:</a></b></dt><dd>Хз, с начала времён тут </dd></dl>

</div>
</div>
<hr/>Объявления и описания членов класса находятся в файле:<ul>
<li>iep/managers/<a class="el" href="shm_8class_8php.html">shm.class.php</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Документация по EDUKIT Developers. Последние изменения: Вт 17 Окт 2017 18:09:13. Создано системой &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
